package cn.tedu.property.admin.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
public class HomeController {

    @GetMapping("hello")
    public String  hello(){
        return "hrlo";
    }
    @GetMapping("communitylist.html")
    public ModelAndView communitylist(){
        return new ModelAndView("communitylist");
    }
    @GetMapping("homelist.html")
    public ModelAndView homelist(){
        return new ModelAndView("homelist");
    }

    @GetMapping("buildinglst.html")
    public ModelAndView buildinglst(){
        return new ModelAndView("buildinglst");
    }

    @GetMapping("personnel_list.html")
    public ModelAndView personnelList(){
        return new ModelAndView("personnel_list");
    }
    @GetMapping("vehicle_list.html")
    public ModelAndView vehiclelist(){
        return new ModelAndView("vehicle_list");
    }
    @GetMapping("parkinglist.html")
    public ModelAndView parkinglist(){
        return new ModelAndView("parkinglist");
    }
    @GetMapping("pet_list.html")
    public ModelAndView petlist(){
        return new ModelAndView("pet_list");
    }
    @GetMapping("parkingusagelist.html")
    public ModelAndView parkingusagelist(){
        return new ModelAndView("parkingusagelist");
    }
    @GetMapping("activity_list.html")
    public ModelAndView activitylist(){
        return new ModelAndView("activity_list");
    }

    @GetMapping("repairlist.html")
    public ModelAndView repairlist(){
        return new ModelAndView("repairlist");
    }
    @GetMapping("complainlist.html")
    public ModelAndView complainlist(){
        return new ModelAndView("complainlist");
    }
    @GetMapping("mailboxlist.html")
    public ModelAndView mailboxlist(){
        return new ModelAndView("mailboxlist");
    }
    @GetMapping("device_list.html")
    public ModelAndView devicelist(){
        return new ModelAndView("device_list");
    }
    @GetMapping("pro_list.html")
    public ModelAndView prolist(){
        return new ModelAndView("pro_list");
    }
    @GetMapping("promx_list.html")
    public ModelAndView promxlist(){
        return new ModelAndView("promx_list");
    }
    /*@GetMapping("adminlist.html")
    public ModelAndView adminlist(){
        return new ModelAndView("adminlist");
    }
    @GetMapping("admingroup.html")
    public ModelAndView admingroup(){
        return new ModelAndView("admingroup");
    }
    @GetMapping("authrule.html")
    public ModelAndView authrule(){
        return new ModelAndView("authrule");
    }
    @GetMapping("one_set.html")
    public ModelAndView one_set(){
        return new ModelAndView("one_set");
    }*/



}
